<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>登录页面</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<meta charset="UTF-8"/>
	<link type="text/css" rel="stylesheet" href="${pageContext.request.contextPath}/css/login.css"/>

  </head>
  
  <body>
     <div id="container">
	 	<div id="image" >
		
			<div id="form">
			<form action="${pageContext.request.contextPath }/loginServlet">
				<div class="input">用户名 <input class="text" type="text" name="username"/><div>
				<div class="input">密码&nbsp&nbsp&nbsp <input class="text" type="password" name="password"/></div>
				<div class="button">
				<input class="but" type="button" value="注册"/>
				<input class="but" type="submit" value="登陆"/>
				</div>
			</form>
			</div>
		</div>
	 </div>
  </body>
</html>
